// samsting : this file is auto create.

#include "Ecs/2014-05-26/AttachDiskRequest.h"

namespace aliyun { namespace Ecs {

AttachDiskRequest::AttachDiskRequest() : RpcAcsRequest("Ecs", "2014-05-26", "AttachDisk") {
}

int64 AttachDiskRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void AttachDiskRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& AttachDiskRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void AttachDiskRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 AttachDiskRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void AttachDiskRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& AttachDiskRequest::GetInstanceId(void) const {
  return InstanceId_;
}
void AttachDiskRequest::SetInstanceId(const string& InstanceId) {
  InstanceId_ = InstanceId;
  PutQueryParameter("InstanceId", InstanceId_);
}

const string& AttachDiskRequest::GetDiskId(void) const {
  return DiskId_;
}
void AttachDiskRequest::SetDiskId(const string& DiskId) {
  DiskId_ = DiskId;
  PutQueryParameter("DiskId", DiskId_);
}

const string& AttachDiskRequest::GetDevice(void) const {
  return Device_;
}
void AttachDiskRequest::SetDevice(const string& Device) {
  Device_ = Device;
  PutQueryParameter("Device", Device_);
}

bool AttachDiskRequest::GetDeleteWithInstance(void) const {
  return DeleteWithInstance_;
}
void AttachDiskRequest::SetDeleteWithInstance(bool DeleteWithInstance) {
  DeleteWithInstance_ = DeleteWithInstance;
  PutQueryParameter("DeleteWithInstance", string_ValueOfBool(DeleteWithInstance_));
}

const string& AttachDiskRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void AttachDiskRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace Ecs {

// end of file 
